using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN ThietBiPhongHocServiceBase****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:08/10/2010 00:09:08</para>
	/// <para>Class Name: ThietBiPhongHocServiceBase</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class ThietBiPhongHocService : IThietBiPhongHocService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: ThietBiPhongHoc_ID</para>
		/// <para>Output: ThietBiPhongHocEntity</para>
		///</summary>
		public ThietBiPhongHocEntity SelectOne(int ThietBiPhongHoc_ID){
			ThietBiPhongHocDAO dao = new ThietBiPhongHocDAO();
			return dao.SelectOne(ThietBiPhongHoc_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of ThietBiPhongHocEntity</para>
		///</summary>
		public List<ThietBiPhongHocEntity> SelectAll(){
			ThietBiPhongHocDAO dao = new ThietBiPhongHocDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			ThietBiPhongHocDAO dao = new ThietBiPhongHocDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of ThietBiPhongHocEntity</para>
		///</summary>
		public List<ThietBiPhongHocEntity> SelectAllFilter(string strFilter){
			ThietBiPhongHocDAO dao = new ThietBiPhongHocDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			ThietBiPhongHocDAO dao = new ThietBiPhongHocDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: Save</para>
		/// <para>Input: ThietBiPhongHocEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(ThietBiPhongHocEntity o){
			ThietBiPhongHocDAO dao = new ThietBiPhongHocDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: Save</para>
		/// <para>Input: ThietBiPhongHocEntity</para>
		/// <para>Output: ThietBiPhongHocEntity</para>
		///</summary>
		public ThietBiPhongHocEntity SaveRet(ThietBiPhongHocEntity o){
			ThietBiPhongHocDAO dao = new ThietBiPhongHocDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of ThietBiPhongHocEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<ThietBiPhongHocEntity> list){
			ThietBiPhongHocDAO dao = new ThietBiPhongHocDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of ThietBiPhongHocEntity</para>
		/// <para>Output: List of ThietBiPhongHocEntity</para>
		///</summary>
		public List<ThietBiPhongHocEntity> SaveListRet(List<ThietBiPhongHocEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: Update</para>
		/// <para>Input: ThietBiPhongHocEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(ThietBiPhongHocEntity o){
			ThietBiPhongHocDAO dao = new ThietBiPhongHocDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of ThietBiPhongHocEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<ThietBiPhongHocEntity> list){
			ThietBiPhongHocDAO dao = new ThietBiPhongHocDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: UpdatePhongHoc_ID</para>
		/// <para>Input: NewPhongHoc_ID,ThietBiPhongHoc_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdatePhongHoc_ID(int NewPhongHoc_ID,int ThietBiPhongHoc_ID){
			ThietBiPhongHocDAO dao = new ThietBiPhongHocDAO();
			return dao.UpdatePhongHoc_ID(NewPhongHoc_ID,ThietBiPhongHoc_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: UpdateLoaiThietBi_ID</para>
		/// <para>Input: NewLoaiThietBi_ID,ThietBiPhongHoc_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateLoaiThietBi_ID(int NewLoaiThietBi_ID,int ThietBiPhongHoc_ID){
			ThietBiPhongHocDAO dao = new ThietBiPhongHocDAO();
			return dao.UpdateLoaiThietBi_ID(NewLoaiThietBi_ID,ThietBiPhongHoc_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: Delete</para>
		/// <para>Input: ThietBiPhongHocEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(ThietBiPhongHocEntity o){
			ThietBiPhongHocDAO dao = new ThietBiPhongHocDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:08/10/2010 00:09:08</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: ThietBiPhongHoc_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int ThietBiPhongHoc_ID){
			ThietBiPhongHocDAO dao = new ThietBiPhongHocDAO();
			return dao.DeleteByID(ThietBiPhongHoc_ID);
		}
		#endregion

		#region Select join to LoaiThietBiPhongHoc functions
		#endregion

		#region Select join to LoaiThietBi functions
		#endregion

		#region Select join to PhongHoc functions
		#endregion

		#region Select,delete by ThietBiPhongHoc_ID functions
		#endregion

		#region Select,delete by PhongHoc_ID functions
		#endregion

		#region Select,delete by LoaiThietBi_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END ThietBiPhongHocWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

